home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
Palettes
/
TablePrinter
/
Headers
/
TablePrintPanel.h
< prev
Wrap
Text File
|
1995-06-12
|
714b
|
30 lines
// TablePrintPanel
//
// By Eric T. Seymour, NeXT Computer, Inc.
//
// TablePrintPanel lets you set the pages per row, so
// that it will adjust the total pages sent to reflect the root page.
// For instance, if I asked to print from 2 to 2 on a table that was three
// pages wide, It would set PrintInfo to print 4 through 6.
//
// You may freely copy, distribute, and reuse the code in this example.
// NeXT disclaims any warranty of any kind, expressed or implied, as to its
// fitness for any particular use.
//
// This file looks best when using tabstops of 3.
#import <appkit/appkit.h>
@interface TablePrintPanel:PrintPanel
{
int pagesPerRow;
}
- setPagesPerRow:(int)pages;
- (int)pagesPerRow;
@end